import sample.Cat;
import sample.Dog;
import sample.Raiser;

public class eg5_6 {
    public static void main(String[] args) {
        Cat cat=new Cat("Cat","white");
        Dog dog=new Dog("Dog","black");
        System.out.println((cat.getName()));
        System.out.println(dog.getName());
        Raiser mike=new Raiser("Mike");
        mike.feed(cat);
        mike.feed(dog);
    }
}
